package com.scnu.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum MomentStatus {
    PUBLISHED(1,"published","已发布"),
    PENDING(2,"pending","待审核"),
    REJECTED(3,"rejected","审核未通过");
    ;
    @EnumValue
    final Integer value;
    @JsonValue
    final String jsonValue;
    final String desc;


}